<template>
  <div>
    <Loading v-if="isLoading" />
    <button @click="!isLoading">切换显示/隐藏</button>
  </div>
</template>

<script>
import Loading from "./";
export default {
  components: {
    Loading,
  },
  data() {
    return {
      isLoading: true,
    }
  }
}
</script>

<style lang="less" scoped>
</style>